package cn.iocoder.yudao.module.project.controller.admin.weighthistoryorderedit.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 订单编辑-删除相关称重业务分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WeightHistoryOrderEditPageReqVO extends PageParam {

    @Schema(description = "称重业务编号", example = "14678")
    private String weightId;

    @Schema(description = "订单编号")
    private String orderCode;

    @Schema(description = "内码编号")
    private String internalCode;

    @Schema(description = "电子秤id", example = "5178")
    private Long scaleId;

    @Schema(description = "电子秤名称", example = "赵六")
    private String scaleName;

    @Schema(description = "ip")
    private String ip;

    @Schema(description = "port")
    private String port;

    @Schema(description = "重量(g)")
    private Double weight;

    @Schema(description = "重量状态(0:正常:1过轻,2:过重)", example = "1")
    private Integer weightStatus;

    @Schema(description = "操作员")
    private String operator;

    @Schema(description = "导入时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] operatingTime;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}